<?php
/**
 * 产品分类文件
 *
 * @author		Arthur(ArthurXF@gmail.com)
 * @copyright	(c) 2006 by bizeway.com
 * @version		$Id$
 * @package		ArthurXF
 * @subpackage	product
 */
if (is_object($objWebInit)) {
	if(!isset($objproduct)){
		include_once(__WEB_ROOT."/product/class/product.class.php");
		include_once(__WEB_ROOT."/product/config/var.inc.php");
		$objproduct = new product();
		$objproduct->setDBG($arrGPdoDB);
		if(is_object($objWebInit->db)) $objproduct->db = $objWebInit->db;
		else $objproduct->db();
	}

	$arrParentType = $objproduct->getTypeList("where type_parentid = 0 and type_pass=1",' order by initial,type_sort desc');

	// 输出到模板
	$arrMOutput["smarty_assign"]['arrParentType'] = $arrParentType;
}
?>